package com.aop.text;

import com.aop.dao.OrderDao;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by win10 on 2020/2/6 16:05
 *
 * @author Administrator
 */
public class OrderText {
    public static void main(String[] args) {
        ApplicationContext act = new ClassPathXmlApplicationContext("applicactionContext.xml");
        OrderDao orderdao = act.getBean(com.aop.dao.OrderDao.class);
        orderdao.save();
    }
}
